home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / objects / r3extrud.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  4.2 KB  |  159 lines

  1.  
  2. // JavaScript wrapper for r3extrud.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_EXTRUSION_H = 1;
  7. include("real/objects/r3level.js")
  8.  
  9.  
  10. var R3CLID_EXTRUDE = 326;
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. R3EXTRA_BevelType = 326500;
  19. function SetR3EXTRA_BevelType(value) {
  20.   R3Set(this.r3obj, R3EXTRA_BevelType, value, R3TID_INTEGER, 0); 
  21. }
  22.  
  23. function GetR3EXTRA_BevelType() {
  24.   return R3Get(this.r3obj, R3EXTRA_BevelType, R3TID_INTEGER, 0); 
  25. }
  26.  
  27. R3EXTRA_BevelRadius = 326501;
  28. function SetR3EXTRA_BevelRadius(value) {
  29.   R3Set(this.r3obj, R3EXTRA_BevelRadius, value, R3TID_FLOAT, 0); 
  30. }
  31.  
  32. function GetR3EXTRA_BevelRadius() {
  33.   return R3Get(this.r3obj, R3EXTRA_BevelRadius, R3TID_FLOAT, 0); 
  34. }
  35.  
  36. R3EXTRA_BevelDepth = 326502;
  37. function SetR3EXTRA_BevelDepth(value) {
  38.   R3Set(this.r3obj, R3EXTRA_BevelDepth, value, R3TID_FLOAT, 0); 
  39. }
  40.  
  41. function GetR3EXTRA_BevelDepth() {
  42.   return R3Get(this.r3obj, R3EXTRA_BevelDepth, R3TID_FLOAT, 0); 
  43. }
  44.  
  45. R3EXTRA_BevelDir = 326503;
  46. function SetR3EXTRA_BevelDir(value) {
  47.   R3Set(this.r3obj, R3EXTRA_BevelDir, value, R3TID_BOOLEAN, 0); 
  48. }
  49.  
  50. function GetR3EXTRA_BevelDir() {
  51.   return R3Get(this.r3obj, R3EXTRA_BevelDir, R3TID_BOOLEAN, 0); 
  52. }
  53.  
  54. R3EXTRA_NoCaps = 326504;
  55. function SetR3EXTRA_NoCaps(value) {
  56.   R3Set(this.r3obj, R3EXTRA_NoCaps, value, R3TID_BOOLEAN, 0); 
  57. }
  58.  
  59. function GetR3EXTRA_NoCaps() {
  60.   return R3Get(this.r3obj, R3EXTRA_NoCaps, R3TID_BOOLEAN, 0); 
  61. }
  62.  
  63. R3EXTRA_LidOrder = 326505;
  64. function SetR3EXTRA_LidOrder(value) {
  65.   R3Set(this.r3obj, R3EXTRA_LidOrder, value, R3TID_INTEGER, 0); 
  66. }
  67.  
  68. function GetR3EXTRA_LidOrder() {
  69.   return R3Get(this.r3obj, R3EXTRA_LidOrder, R3TID_INTEGER, 0); 
  70. }
  71.  
  72. R3EXTRA_LidResol = 326506;
  73. function SetR3EXTRA_LidResol(value) {
  74.   R3Set(this.r3obj, R3EXTRA_LidResol, value, R3TID_INTEGER, 0); 
  75. }
  76.  
  77. function GetR3EXTRA_LidResol() {
  78.   return R3Get(this.r3obj, R3EXTRA_LidResol, R3TID_INTEGER, 0); 
  79. }
  80.  
  81. R3EXTRA_Independent = 326507;
  82. function SetR3EXTRA_Independent(value) {
  83.   R3Set(this.r3obj, R3EXTRA_Independent, value, R3TID_BOOLEAN, 0); 
  84. }
  85.  
  86. function GetR3EXTRA_Independent() {
  87.   return R3Get(this.r3obj, R3EXTRA_Independent, R3TID_BOOLEAN, 0); 
  88. }
  89.  
  90. R3EXTRA_TargetID = 1225063469;
  91. function SetR3EXTRA_TargetID(value) {
  92.   R3Set(this.r3obj, R3EXTRA_TargetID, value, R3TID_INTEGER, 0); 
  93. }
  94.  
  95. function GetR3EXTRA_TargetID() {
  96.   return R3Get(this.r3obj, R3EXTRA_TargetID, R3TID_INTEGER, 0); 
  97. }
  98.  
  99. R3EXTRA_TopLidID = 1225063470;
  100. function SetR3EXTRA_TopLidID(value) {
  101.   R3Set(this.r3obj, R3EXTRA_TopLidID, value, R3TID_INTEGER, 0); 
  102. }
  103.  
  104. function GetR3EXTRA_TopLidID() {
  105.   return R3Get(this.r3obj, R3EXTRA_TopLidID, R3TID_INTEGER, 0); 
  106. }
  107.  
  108. R3EXTRA_BottomLidID = 1225063471;
  109. function SetR3EXTRA_BottomLidID(value) {
  110.   R3Set(this.r3obj, R3EXTRA_BottomLidID, value, R3TID_INTEGER, 0); 
  111. }
  112.  
  113. function GetR3EXTRA_BottomLidID() {
  114.   return R3Get(this.r3obj, R3EXTRA_BottomLidID, R3TID_INTEGER, 0); 
  115. }
  116.  
  117. var R3EXTRA_LASTNORMALATTR = 326700;
  118. var R3BEVEL_NONE = 0;
  119. var R3BEVEL_CUTEDGE = 1;
  120. var R3BEVEL_ROUNDED = 2;
  121. var R3BEVEL_GROOVED = 3;
  122. var R3BEVDIR_IN = 0;
  123. var R3BEVDIR_OUT = 1;
  124.  
  125.  
  126. function r3Extrude () { 
  127.    this.base = r3God;
  128.    if(arguments.length) {
  129.       this.base(R3CLID_EXTRUDE, arguments);
  130.    }
  131.    // Methods
  132.  
  133.    // Attributes
  134.    this.GetBevelType=GetR3EXTRA_BevelType;
  135.    this.SetBevelType=SetR3EXTRA_BevelType;
  136.    this.GetBevelRadius=GetR3EXTRA_BevelRadius;
  137.    this.SetBevelRadius=SetR3EXTRA_BevelRadius;
  138.    this.GetBevelDepth=GetR3EXTRA_BevelDepth;
  139.    this.SetBevelDepth=SetR3EXTRA_BevelDepth;
  140.    this.GetBevelDir=GetR3EXTRA_BevelDir;
  141.    this.SetBevelDir=SetR3EXTRA_BevelDir;
  142.    this.GetNoCaps=GetR3EXTRA_NoCaps;
  143.    this.SetNoCaps=SetR3EXTRA_NoCaps;
  144.    this.GetLidOrder=GetR3EXTRA_LidOrder;
  145.    this.SetLidOrder=SetR3EXTRA_LidOrder;
  146.    this.GetLidResol=GetR3EXTRA_LidResol;
  147.    this.SetLidResol=SetR3EXTRA_LidResol;
  148.    this.GetIndependent=GetR3EXTRA_Independent;
  149.    this.SetIndependent=SetR3EXTRA_Independent;
  150.    this.GetTargetID=GetR3EXTRA_TargetID;
  151.    this.SetTargetID=SetR3EXTRA_TargetID;
  152.    this.GetTopLidID=GetR3EXTRA_TopLidID;
  153.    this.SetTopLidID=SetR3EXTRA_TopLidID;
  154.    this.GetBottomLidID=GetR3EXTRA_BottomLidID;
  155.    this.SetBottomLidID=SetR3EXTRA_BottomLidID;
  156. }
  157.  
  158. r3Extrude.prototype=new r3Level;
  159. // r3extrud.h_H